package com.zhang.common.DTO;

import lombok.Data;

import javax.validation.constraints.NotBlank;

//用于注册账号
@Data
public class RegisterDto {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    private String checkPassword;

    @NotBlank(message = "昵称不能为空")
    private String nickname;
}
